import QtQuick 2.0
import QtQuick.Layouts 1.12

Rectangle {
    id: root

    property int itemNum: 12


    property string i0: "1"
    property string i1: "2"
    property string i2: "3"
    property string i3: "4"
    property string i4: "5"
    property string i5: "6"
    property string i6: "7"
    property string i7: "8"
    property string i8: "9"
    property string i9: "10"
    property string i10: "11"
    property string i11: "12"

    color: "#E6EDF2"
    height: 40*dp
    width: parent.width
    Row{
        height: 40*dp
        width: parent.width - 40*dp
        x: 20*dp
        Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i0
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i1
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i2
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i3
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i4
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i5
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i6
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i7
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i8
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i9
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i10
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }Item{
            height: 40*dp
            width: parent.width / 12
            Text{
                font.pixelSize: config.fontsize
                anchors.centerIn: parent
                text: i11
                wrapMode: Text.WordWrap
                horizontalAlignment: TextInput.AlignHCenter
                width: parent.width
            }
        }
    }
}
